<admintpl file="header" />
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:U('notice_weixin_add')}">新增微信公告</a></li>
        <li class="active"><a>编辑微信公告</a></li>
    </ul>
    <form class="form-horizontal js-ajax-form" action="{:U('notice_weixin_edit')}" method="post">
        <fieldset>
            <div class="control-group">
                <label class="control-label">公告标题:</label>
                <div class="controls">
                    <input class="" name="title" value="{$message_data.title}" type="text" placeholder="" />
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">来源:</label>
                <div class="controls">
                    <input type="text" value="{$message_data.msg_from}" name="msg_from"  placeholder="">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">公告简介:</label>
                <div class="controls">
                    <textarea class="" name="intro"  rows="5" cols="60" style="width: 90%" placeholder="">{$message_data.intro}</textarea>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">公告正文:</label>
                <div class="controls">
                    <textarea class="" id="content"  name="content" rows="10" cols="30" placeholder="">{$message_data.content}</textarea>
                </div>
            </div>

        </fieldset>
        <div class="form-actions">
            <input name="message_id" type="hidden" value="{$message_data.message_id}">
            <button type="submit" class="btn btn-primary  js-ajax-submit">{:L('SAVE')}</button>
            <a class="btn" href="{:U('notice_weixin_list')}">{:L('BACK')}</a>
        </div>
    </form>
</div>
<script src="__PUBLIC__/js/common.js"></script>
<script type="text/javascript">
    //编辑器路径定义
    var editorURL = GV.DIMAUB;
</script>
<script type="text/javascript" src="__PUBLIC__/js/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/ueditor/ueditor.all.min.js"></script>
<script type="text/javascript">
    var editorcontent = new baidu.editor.ui.Editor();
    editorcontent.render('content');
</script>
</body>
</html>